﻿using PickingGuide.Handle;
using PickingGuide.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;

namespace PickingGuideApi.Controllers
{
    /// <summary>
    /// 队列信息
    /// </summary>
    public class QueueInfoController : ApiController
    {
        PickingGuideHandler pickingGuideHandler = PickingGuideHandler.getInstance();
        /// <summary>
        /// 获取队列信息
        /// </summary>
        /// <returns></returns>
        [HttpGet, Route("ScanConfirm/GetQueueInfo")]
        public List<WorkQueueModel> GetQueueInfo()
        {
            return pickingGuideHandler.GetQueueInfoToWeb();
        }
    }
}